<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>

<script src="${ctx}/includes/jquery.js" type="text/javascript"></script>
<script src="${ctx}/includes/jquery.form.js" type="text/javascript"></script>
<script src="${ctx}/includes/jquery.validate.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="${ctx}/style/form_table.css">

<s:form id="edit_ccsqProcess_form" name="edit_zdxzdcProcess_form" method="post" action="pubCcsq/detail.do"  onsubmit="return false;">
	<s:token/>
	<s:hidden id="id" name="id" />
	<table class="form-table">
		<tr>
			<th width="150">员工编号：</th>
			<td>${ygbh}</td>
		</tr>
		<tr>
			<th width="150">员工姓名：</th>
			<td>${ygxm}</td>
		</tr>
		<tr>
			<th width="150">部门：</th>
			<td>${bm}</td>
		</tr>
		<tr>
			<th width="150">出差类型：</th>
			<td>${cclx}</td>
		</tr>
		<tr>
			<th width="150">职业发展层级：</th>
			<td>${zyfzcj}</td>
		</tr>
		<tr>
			<th width="150">出差理由：</th>
			<td>${ccly}</td>
		</tr>
		<tr>
			<th width="150">状态：</th>
			<td>
			<c:if test="${zt == 0}">待审核</c:if>
			<c:if test="${zt == 1}">完成</c:if>
			<c:if test="${zt == 2}">审核通过</c:if>
			<c:if test="${zt == 3}">退回</c:if>
			</td>
		</tr>
		<tr>
			<th width="150">审核时间：</th>
			<td>${shsjString}</td>
		</tr>
		<tr>
			<th width="150">审核意见：</th>
			<td>${shyj}</td>
		</tr>
		<tr>
			<th width="150">附件：</th>
			<td>
			<c:if test="${attach != null}">
		  		<c:forEach items="${attach}" var="item" varStatus="status">
					 <a onclick="downloadFile('${item.attachid}')" href="javascript:void(0)"> ${item.name} </a>
		  		</c:forEach>
		  	</c:if>
			</td>
		</tr>
	</table>
	
</s:form>
<script type="text/javascript">
function downloadFile(A){
	window.location.href='${ctx}/filedownload.do?fileAsName='+A+'&timsStamp=' + new Date().getTime();
}


</script>
